package com.example.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("configuration")
@ApiModel(description = "配置实体")
public class Configuration {
    
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;
    
    @ApiModelProperty("配置用户ID")
    private String userId;
    
    @ApiModelProperty("配置类别")
    private String type;
    
    @ApiModelProperty("配置名称")
    private String name;
    
    @ApiModelProperty("配置值(JSON字符串)")
    private String configs;
    
    @ApiModelProperty("配置备注")
    private String remark;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
} 